import service from "@/utils/request"
interface OrderSummaryType {
  beginEndTime: string	//开始交期结束时间	string	body	true
  beginStartTime: string	//开始交期开始时间	string	body	true
  deliveryEndDate: string	//交期结束时间	string	body	true
  deliveryStartDate: string	//交期开始时间	string	body	true
  line: string	//生产线	string	body	true
  lotNO: string	//指令	string	body	true
  pageNum: number	//integer	body	true
  pageSize: number	//integer	body	true
  style: string	//工厂货号	string	body	true

}
interface TableListType {
  lists?: never[]
  list: [],
  total: number,
  pageNum?: number,
  pageSize?: number,
  totalDays?: number,
  totalOrders?: number,
}
interface SelectListType {
  brands: [],
  samples: [],
  seasons: [],
}

export default {
  // 获取表格列表
  getTableList(params: any) {
    return service.put<any, TableListType>('/pcFactorWork/listMtlHead', params)
  },
  // 获取补制明细表格数据
  getSupplementaryTableList(params: any) {
    return service.get<any, any>(`/pcFactorWork/listMtlDetail/${params}`)
  },
  // 补数审核-责任和指令-条件查询
  getResponsibilitiesDirectivesTableList(params: any) {
    return service.put<any, any>('/pcFactorWork/listMtlLot', params)
  }
}